package com.bnz.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author xy
 * @date 2022/10/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "classes")
public class Classes implements Serializable {
    @Id
    private Integer cid;
    private String cname;
}